package com.yunyi.lam.test;

import java.util.function.IntBinaryOperator;

public class Simple02 {
    public static void main(String[] args) {
        int c = test((int a, int b) -> {
            return a + b;
        });
        System.out.println(c);
    }

    public static int test(IntBinaryOperator intBinaryOperator) {
        int a = 10;
        int b = 33;
        return intBinaryOperator.applyAsInt(a, b);
    }
}
